import { View, Image } from "@tarojs/components";
import React from "react";
import './index.scss'
const ListItem = ({ v, desc, preFix }) => {
  return (
    <View className="list-item">
        { preFix }
        <Image src={v.image}></Image>
        <View className="right">
          <View className="title">{v.title}</View>
          <View className="desc">{desc ? desc : v.desc}</View>
          <View className="price">¥： {v.price}</View>
        </View>
      </View>
  );
};

export default ListItem;
